home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / nt4.0 server / OEMNADNE.IN_ / oemnadne.inf
INI File  |  1996-07-12  |  22KB  |  577 lines

  1. [Identification]
  2.     OptionType = NetAdapter
  3. [PlatformsSupported]
  4.     EISA
  5.         "Jazz-Internal Bus"
  6. [Options]
  7.     NE3200
  8. [FileConstants]
  9. UtilityInf      = "UTILITY.INF"
  10. subroutineinf   = "SUBROUTN.INF"
  11. SoftwareType    = "driver"
  12. Exit_Code       = 0
  13. NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
  14. IoLogMsgDLL     = "%SystemRoot%\System32\IoLogMsg.dll"
  15. NE3200_1BYTE    = 511034
  16. Manufacturer    = "Microsoft"
  17. ProductMajorVersion     = "4"
  18. ProductMinorVersion     = "0"
  19. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  20. ProductSoftwareName     = "NE3200"
  21. ProductSoftwareImagePath = "\SystemRoot\System32\drivers\ne3200.sys"
  22. NetRuleSoftwareType     = "ne3200Sys ndisDriver ne3200Driver"
  23. NetRuleSoftwareUse      = $(SoftwareType)
  24. NetRuleSoftwareBindForm = """Ne3200Sys"" yes no container"
  25. NetRuleSoftwareClass    = {"ne3200Driver basic"}
  26. NetRuleSoftwareBindable = {"ne3200Driver ne3200Adapter non exclusive 100"}
  27. ProductHardwareName     = "NE3200"
  28. NetRuleHardwareType     = "ne3200 ne3200Adapter"
  29. NetRuleHardwareBindForm = " yes yes container"
  30. NetRuleHardwareClass    = {"ne3200Adapter basic"}
  31. ProductOpSupport     = 132 
  32. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  33. ParamKeyName    = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
  34. [GeneralConstants]
  35. from      = ""
  36. to        = ""
  37. ExitCodeOk     = 0
  38. ExitCodeCancel = 1
  39. ExitCodeFatal  = 2
  40. KeyNull         = ""
  41. MAXIMUM_ALLOWED   = 33554432
  42. RegistryErrorIndex = NO_ERROR
  43. KeyProduct      = ""
  44. KeyParameters   = ""
  45. TRUE            = 1
  46. FALSE           = 0
  47. NoTitle            = 0
  48. ExitState   = "Active"
  49. OldVersionExisted = $(FALSE)
  50. DriverPath      = $(!STF_NTPATH)\drivers
  51. [date]
  52.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  53. [Identify]
  54.     read-syms Identification
  55.     set Status     = STATUS_SUCCESSFUL
  56.     set Identifier = $(OptionType)
  57.     set Media      = #("Source Media Descriptions", 1, 1)
  58.     Return $(Status) $(Identifier) $(Media)
  59. [ReturnOptions]
  60.     set Status        = STATUS_FAILED
  61.     set OptionList     = {}
  62.     set OptionTextList = {}
  63.     set LanguageList = ^(LanguagesSupported, 1)
  64.     Ifcontains(i) $($0) in $(LanguageList)
  65.         ifstr(i) $($1) == ""
  66.            goto returnoptions
  67.         endif
  68.         set PlatformList = ^(PlatformsSupported, 1)
  69.         Ifcontains(i) $($1) in $(PlatformList)
  70.            goto returnoptions
  71.         else
  72.            set Status = STATUS_NOTSUPPORTED
  73.            goto finish_ReturnOptions
  74.         endif
  75.     else
  76.         set Status = STATUS_NOLANGUAGE
  77.         goto finish_ReturnOptions
  78.     endif
  79. returnoptions = +
  80.     set OptionList     = ^(Options, 1)
  81.     set OptionTextList = ^(OptionsText$($0), 1)
  82.     set Status         = STATUS_SUCCESSFUL
  83. finish_ReturnOptions = +
  84.     Return $(Status) $(OptionList) $(OptionTextList)
  85. [InstallOption]
  86.     set Option   = $($1)
  87.     set SrcDir   = $($2)
  88.     set AddCopy  = $($3)
  89.     set DoCopy   = $($4)
  90.     set DoConfig = $($5)
  91.     set LanguageList = ^(LanguagesSupported, 1)
  92.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  93.         Return STATUS_NOLANGUAGE
  94.     endif
  95.     Debug-Output "OEMNADNE.INF: STF_CWDIR is: "$(!STF_CWDIR)
  96.     Debug-Output "OEMNADNE.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  97.     set-subst LF = "\n"
  98.     read-syms GeneralConstants
  99.     read-syms FileConstants
  100.     read-syms DialogConstants$(!STF_LANGUAGE)
  101.     ifstr(i) $(!NTN_Origination) == "NCPA"
  102.         set Continue = $(OK)
  103.     endif
  104.     read-syms FileConstants$(!STF_LANGUAGE)
  105.     detect date
  106.     set-title  $(FunctionTitle)
  107.     set to   = Begin
  108.     set from = Begin
  109.     set CommonStatus = STATUS_SUCCESSFUL
  110.     EndWait
  111. Begin = +
  112.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  113.         set StartLabel = removeadapter
  114.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  115.         set StartLabel = UpgradeSoftware
  116.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  117.         set StartLabel = bindingadapter
  118.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  119.         set CommonStatus = STATUS_REBOOT
  120.         Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  121.             Debug-Output "Cannot configure the novell 3200 driver software."
  122.             Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  123.         else
  124.             Debug-Output "Cannot configure the novell 3200 adapter card."
  125.             Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_HARDWARE
  126.         endif
  127.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  128.             Debug-Output "ShellCode error: cannot get an error string."
  129.             goto ShellCodeError
  130.         endif
  131.         set Error = $($R0)
  132.         set from = end
  133.         set to = end
  134.         goto nonfatalinfo
  135.     else
  136.         set StartLabel = installadapter
  137.         set OEM_ABANDON_OPTIONS = {}
  138.         set OEM_ABANDON_SOFTWARE = FALSE
  139.         set OEM_ABANDON_ON = TRUE
  140.     endif
  141.     set from = $(fatal)
  142.     set to = $(fatal)
  143.     goto $(StartLabel)
  144. installadapter = +
  145.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  146.     Ifstr $(KeyProduct) != $(KeyNull)
  147.         CloseRegKey $(KeyProduct)
  148.         ifstr(i) !(NTN_RegBase) == $(ProductKeyName)
  149.            Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
  150.                $(ProductVersion)
  151.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  152.                Debug-Output "ShellCode error: cannot get an error string."
  153.                goto ShellCodeError
  154.            endif
  155.            goto end
  156.         else
  157.            Shell $(UtilityInf), CardExistedDlg
  158.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  159.                Debug-Output "ShellCode error: cannot get an error string."
  160.                goto ShellCodeError
  161.            endif
  162.            ifstr(i) $($R1) != "OK"
  163.                set CommonStatus = STATUS_USERCANCEL
  164.                goto end
  165.            endif
  166.            set OldVersionExisted = $(TRUE)
  167.         endif
  168.     endif
  169.     goto nextstep
  170. configureadapter = +
  171.     set Error = "Configure: Sorry, not yet implemented."
  172.     goto fatal
  173. nextstep = +
  174.     StartWait
  175.     Shell $(UtilityInf), EISAFindBus, $(NE3200_1BYTE)
  176.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  177.         goto ShellCodeError
  178.     endif
  179.     ifstr $($R0) != "NO_ERROR"
  180.         set Error = $($R0)
  181.         goto fatal
  182.     endif
  183.     ifstr(i) $($R1) == {}
  184.         set Error = $(CANNOT_FIND_ANY_CARD)
  185.         set CommonStatus = STATUS_USERCANCEL
  186.         set from = "end"
  187.         goto nonfatal
  188.     endif
  189.     set AdapterList = $($R1)
  190.     ifint $(OldVersionExisted) == $(FALSE)
  191.         ifstr(i) $(!NTN_InstallMode) == "install"
  192.            Ifstr(i) $(DoCopy) == "YES"
  193.               Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  194.               Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  195.                   Goto ShellCodeError
  196.               Else-Ifstr(i) $($R0) == STATUS_FAILED
  197.                   Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  198.                   ifint $($ShellCode) != $(!SHELL_CODE_OK)
  199.                       goto ShellCodeError
  200.                   endif
  201.                   set Error = $($R0)
  202.                   Goto fatal
  203.               Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  204.                   Goto successful
  205.               Endif
  206.               Set SrcDir = $($R1)
  207.            Endif
  208.            install "Install-Option"
  209.            ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  210.               Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  211.               ifint $($ShellCode) != $(!SHELL_CODE_OK)
  212.                   goto ShellCodeError
  213.               endif
  214.               set Error = $($R0)
  215.               goto fatal
  216.            endif
  217.         endif
  218.         Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  219.             $(ProductSoftwareName), +
  220.             $(ProductSoftwareName), +
  221.             $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
  222.             $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
  223.             $(NetEventDLL)
  224.         Set OEM_ABANDON_SOFTWARE = TRUE
  225.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  226.             goto ShellCodeError
  227.         endif
  228.         set RegistryErrorIndex = $($R0)
  229.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  230.             EndWait
  231.             CloseRegKey $($R1)
  232.             CloseRegKey $($R2)
  233.             CloseRegKey $($R3)
  234.             CloseRegKey $($R4)
  235.             CloseRegKey $($R5)
  236.             goto fatalregistry
  237.         endif
  238.         set SoftProductKey      = $($R1)
  239.         Set SoftNetRuleKey      = $($R2)
  240.         Set SoftServiceKey      = $($R3)
  241.         Set SoftParameterKey    = $($R4)
  242.         Set SoftLinkageKey      = $($R5)
  243.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  244.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  245.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  246.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  247.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  248.                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  249.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  250.         Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  251.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  252.             goto ShellCodeError
  253.         endif
  254.         set RegistryErrorIndex = $($R0)
  255.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  256.             EndWait
  257.             CloseRegKey $(SoftProductKey)
  258.             CloseRegKey $(SoftNetRuleKey)
  259.             CloseRegKey $(SoftServiceKey)
  260.             CloseRegKey $(SoftParameterKey)
  261.             CloseRegKey $(SoftLinkageKey)
  262.             goto fatalregistry
  263.         endif
  264.         set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
  265.                             {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  266.                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  267.                             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  268.                             {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)}, +
  269.                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  270.         Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  271.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  272.             goto ShellCodeError
  273.         endif
  274.         set RegistryErrorIndex = $($R0)
  275.         CloseRegKey $(SoftProductKey)
  276.         CloseRegKey $(SoftNetRuleKey)
  277.         CloseRegKey $(SoftServiceKey)
  278.         CloseRegKey $(SoftParameterKey)
  279.         CloseRegKey $(SoftLinkageKey)
  280.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  281.             EndWait
  282.             goto fatalregistry
  283.         endif
  284.     endif
  285.     ForListDo $(AdapterList)
  286.         set BusNum = *($($),1)
  287.         set SlotNum = *($($),2)
  288.         Debug-Output $(BusNum)
  289.         Debug-Output $(SlotNum)
  290.         Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(BusNum), +
  291.             $(SlotNum), $(ProductHardwareDescription), $(ProductHardwareName)
  292.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  293.             goto ShellCodeError
  294.         endif
  295.         ifstr $($R0) != "NO_ERROR"
  296.             set Error = $($R0)
  297.             goto fatal
  298.         endif
  299.         ifstr(i) $($R1) != "YES"
  300.                 Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  301.                 ifint $($R4) != -1
  302.                     Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  303.                 endif
  304.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  305.                     goto ShellCodeError
  306.                 endif
  307.                 set RegistryErrorIndex = $($R0)
  308.                 Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  309.                     EndWait
  310.                     CloseRegKey $($R1)
  311.                     CloseRegKey $($R2)
  312.                     CloseRegKey $($R3)
  313.                     goto fatalregistry
  314.                 endif
  315.                 Set HardNetCardKey      = $($R1)
  316.                 Set HardNetRuleKey      = $($R2)
  317.                 Set HardParameterKey    = $($R3)
  318.                 set AdapterNumber       = $($R4)
  319.                 set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  320.                                    {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardwareTitle)},+
  321.                                    {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareDescription)},+
  322.                                    {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  323.                                    {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  324.                                    {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)},+
  325.                                    {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  326.                 Shell  $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList)
  327.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  328.                     goto ShellCodeError
  329.                 endif
  330.                 set NewValueList = {{BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNum)},+
  331.                                    {BusType,$(NoTitle),$(!REG_VT_DWORD),2},+
  332.                                    {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  333.                                    {EisaCompressedId,$(NoTitle),$(!REG_VT_DWORD),$(NE3200_1BYTE)},+
  334.                                    {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(SlotNum)}}
  335.                 Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  336.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  337.                     goto ShellCodeError
  338.                 endif
  339.                  set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  340.                  set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  341.                  set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+
  342.                                      {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  343.                                      {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)}, +
  344.                                      {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  345.                 Shell  $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList)
  346.                 CloseRegKey $(HardNetCardKey)
  347.                 CloseRegKey $(HardNetRuleKey)
  348.                 CloseRegKey $(HardParameterKey)
  349.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  350.                     goto ShellCodeError
  351.                 endif
  352.         endif
  353.     EndForListDo
  354.     goto writeparameters
  355. writeparameters = +
  356.     EndWait
  357.     goto successful
  358. bindingadapter =+
  359.     set Error = "Binding: Sorry, not yet implemented."
  360.     goto fatal
  361. removeadapter = +
  362.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  363.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  364.             $(ProductSoftwareName)
  365.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  366.             Debug-Output "ShellCode error"
  367.             goto ShellCodeError
  368.         endif
  369.         set RegistryErrorIndex = $($R0)
  370.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  371.             goto fatalregistry
  372.         endif
  373.     else
  374.         Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  375.             $(ProductSoftwareName), $(!NTN_RegBase)
  376.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  377.             Debug-Output "ShellCode error"
  378.             goto ShellCodeError
  379.         endif
  380.         set RegistryErrorIndex = $($R0)
  381.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  382.             goto fatalregistry
  383.         endif
  384.     endif
  385.     goto end
  386. UpgradeSoftware = +
  387.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  388.     Ifstr $(KeyProduct) != $(KeyNull)
  389.         install "Install-Update"
  390.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  391.             goto fatal
  392.         endif
  393.         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  394.         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  395.         CloseRegKey $(KeyProduct)
  396.     else
  397.         goto fatalregistry
  398.     endif
  399.     set iSearch = 1
  400. nextnetcard = +
  401.     Shell $(UtilityInf), FindNextNetworkCard, $(ProductHardwareName), $(iSearch)
  402.     set KeyNetcard = $($R0)
  403.     set iSearch = $($R1)
  404.     Debug-Output "OemNadEp.Inf: FindNextNetworkCard "$(KeyNetcard)","$(iSearch)
  405.     Ifstr $(KeyNetcard) != $(KeyNull)
  406.         Debug-Output "OemNadEp.Inf: Setting OperationsSupport value"
  407.         SetRegValue $(KeyNetcard) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}
  408.         CloseRegKey $(KeyNetcard)
  409.         goto nextnetcard
  410.     Endif
  411.     goto end
  412. successful = +
  413.     goto end
  414. abandon = +
  415.     ForListDo $(OEM_ABANDON_OPTIONS)
  416.         Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  417.             $(ProductSoftwareName), $($)
  418.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  419.             Debug-Output "ShellCode error"
  420.             goto ShellCodeError
  421.         endif
  422.         set RegistryErrorIndex = $($R0)
  423.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  424.             goto fatalregistry
  425.         endif
  426.     EndForListDo
  427.     Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
  428.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  429.             $(ProductSoftwareName), FALSE
  430.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  431.             Debug-Output "ShellCode error"
  432.             goto ShellCodeError
  433.         endif
  434.         set RegistryErrorIndex = $($R0)
  435.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  436.             goto fatalregistry
  437.         endif
  438.     endif
  439.     goto end
  440. warning = +
  441.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  442.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  443.         goto ShellCodeError
  444.     endif
  445.     ifstr(i) $($R1) == "OK"
  446.         goto $(to)
  447.     else-ifstr(i) $($R1) == "CANCEL"
  448.         goto $(from)
  449.     else
  450.         goto "end"
  451.     endif
  452. nonfatalinfo = +
  453.     Set CommonStatus = STATUS_USERCANCEL
  454.     Set Severity = STATUS
  455.     goto nonfatalmsg
  456. nonfatal = +
  457.     Set Severity = NONFATAL
  458.     goto nonfatalmsg
  459. nonfatalmsg = +
  460.     ifstr(i) $(Error) == ""
  461.         Set Severity = NONFATAL
  462.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  463.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  464.             goto ShellCodeError
  465.         endif
  466.         set Error = $($R0)
  467.     endif
  468.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  469.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  470.         goto ShellCodeError
  471.     endif
  472.     ifstr(i) $($R1) == "OK"
  473.         goto $(from)
  474.     else
  475.         goto "end"
  476.     endif
  477. fatalregistry = +
  478.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  479.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  480.         goto ShellCodeError
  481.     endif
  482.     set Error = $($R0)
  483.     goto fatal
  484. fatal = +
  485.     ifstr(i) $(Error) == ""
  486.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  487.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  488.             goto ShellCodeError
  489.         endif
  490.         set Error = $($R0)
  491.     endif
  492.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  493.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  494.         goto ShellCodeError
  495.     endif
  496.     goto setfailed
  497. ShellCodeError = +
  498.     set DlgType      = "MessageBox"
  499.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  500.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  501.     set STF_MB_TYPE  = 1
  502.     set STF_MB_ICON  = 3
  503.     set STF_MB_DEF   = 1
  504.     ui start "Error Message"
  505.     goto setfailed
  506. setfailed = +
  507.     set CommonStatus = STATUS_FAILED
  508.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  509.         set OEM_ABANDON_ON = FALSE
  510.         goto abandon
  511.     endif
  512.     goto end
  513. end = +
  514.     goto term
  515. term = +
  516.     Return $(CommonStatus)
  517. [Install-Option]
  518.     set STF_VITAL = ""
  519.     ifstr(i) $(AddCopy) == "YES"
  520.         AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  521.     endif
  522.     ifstr(i) $(DoCopy) == "YES"
  523.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  524.        CopyFilesInCopyList
  525.     endif
  526.     ifstr(i) $(DoConfig) == "YES"
  527.     endif
  528.     Exit
  529. [Install-Update]
  530.    set STF_VITAL        = ""
  531.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  532.    AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  533.    exit
  534. [Source Media Descriptions]
  535.     1 = "Windows NT Server CD-ROM", TAGFILE = cdrom_s.40
  536. [Signature]
  537.     FileType = MICROSOFT_FILE
  538. [GetSignature]
  539.     read-syms Signature
  540.     return $(FileType)
  541. [ProductType]
  542. STF_PRODUCT  = LanmanNT
  543. STF_PLATFORM = I386
  544. [Files-Inf]
  545. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  546. [Files-NE3200]
  547. 1,NE3200.BIN , SIZE=999
  548. 1,NE3200.SYS , SIZE=999
  549. [LanguagesSupported]
  550.     ENG
  551. [OptionsTextENG]
  552.     NE3200     = "Novell NE3200 EISA Adapter"
  553. [FileConstantsENG]
  554. ProCaption   = "Windows NT Setup"
  555. ProCancel    = "Cancel"
  556. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  557.                "Are you sure you want to cancel copying files?"
  558. ProCancelCap = "Network Setup Message"
  559. ProText1     = "Copying:"
  560. ProText2     = "To:"
  561. FunctionTitle   = "Novell 3200 EISA Adapter Card Setup"
  562. ProductSoftwareDescription      = "Novell 3200 Adapter Driver"
  563. ProductHardwareDescription      = "Novell NE3200 EISA Adapter"
  564. CANNOT_FIND_ANY_CARD            = "Network card is not present in the system"
  565. ProductSoftwareTitle    = "Novell 3200 Adapter Driver"
  566. ProductHardwareTitle    = "Novell NE3200 EISA Adapter"
  567. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  568. ShellCodeErrorText      = "Shell Code Error."
  569. [DialogConstantsENG]
  570. Help        = "&Help"
  571. Exit        = "Cancel"
  572. OK          = "OK"
  573. HelpContext = ""
  574. Continue    = "Continue"
  575. Cancel      = "Cancel"
  576. [FileDependentDlgENG]
  577.